#version 150

in vec3 position;
in vec3 color;
out vec3 Color;

// texture related elements
in vec2 texcoord;
out vec2 Texcoord;

uniform float time;
uniform mat4 trans;

uniform mat4 model;
uniform mat4 view;
uniform mat4 proj;


void main() {
    Texcoord = texcoord;
    Color = color;
    vec4 pp = proj * view * model * vec4(position, 1.0);
    gl_Position = pp;
}
